package com.aishang.shopback_2005.dao;

import com.aishang.shopback_2005.po.Orderitem;
import com.aishang.shopback_2005.po.Orders;
import com.aishang.shopback_2005.po.OrdersExt;
import com.aishang.shopback_2005.po.Product;
import tk.mybatis.MyMapper;

import java.util.List;

public interface OrdersMapper extends MyMapper<Orders> {
    /**
     * 查询所有订单
     * @param ordersExt
     * @return
     */
    List<Orders> getAllOrders(OrdersExt ordersExt);

    /**
     * 更新订单信息
     * @param orders
     */
    void updateOrders(Orders orders);
}